package com.hualan.mapper;

import com.hualan.domain.Coursereply;
import com.hualan.domain.CoursereplyAndUser;

import java.util.List;

/**
* @author 29524
* @description 针对表【coursereply(课程回复表，存储用户对课程问题的回复)】的数据库操作Mapper
* @createDate 2024-09-06 15:35:12
* @Entity com.hualan.domain.Coursereply
*/
public interface CoursereplyMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Coursereply record);

    int insertSelective(Coursereply record);

    Coursereply selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Coursereply record);

    int updateByPrimaryKey(Coursereply record);

    //联表查询提问问答
    List<CoursereplyAndUser> findReqReply(String userName);
    //查询所有课堂交流回复
    List<Coursereply> selectAllCourseReply();


}
